Automatic routing system with variable width interconnect

ABSTRACT

A system automatically routes interconnect of an integrated circuit design using variable width interconnect lines. For example, a first automatically routed interconnect may have a different width from a second automatically routed interconnect. The system will vary the width of the interconnect lines based on certain factors or criteria. These factors include current or power handling, reliability, electromigration, voltage drops, self-heating, optical proximity effects, or other factors, or combinations of these factors. The system may use a gridded or a gridless (or shape-based) approach.

BACKGROUND OF INVENTION

The present invention relates to the field of electronic designautomation for integrated circuits, and in particular, to the area ofautomatic routing of nets or interconnect, where the width of the netsor interconnect is variable.

Integrated circuits are important building blocks of the information ageand are critical to the information age, affecting every industryincluding financial, banking, legal, military, high technology,transportation, telephony, oil, medical, drug, food, agriculture,education, and many others. Integrated circuits such as DSPs,amplifiers, DRAMs, SRAMs, EPROMs, EEPROMs, Flash memories,microprocessors, ASICs, and programmable logic are used in manyapplications such as computers, networking, telecommunications, andconsumer electronics.

Consumers continue to demand greater performance in their electronicproducts. For example, higher speed computers will provide higher speedgraphics for multimedia applications or development. Higher speedinternet web servers will lead to greater on-line commerce includingon-line stock trading, book sales, auctions, and grocery shopping, justto name a few examples. Higher performance integrated circuits willimprove the performance of the products in which they are incorporated.

Large modern day integrated circuits have millions of devices includinggates and transistors and are very complex. As process technologyimproves, more and more devices may be fabricated on a single integratedcircuit, so integrated circuits will continue to become even morecomplex with time. To meet the challenges of building more complex andhigher performance integrated circuits, software tools are used. Thesetools are in an area commonly referred to as computer aided design(CAD), computer aided engineering (CAE), or electronic design automation(EDA). There is a constant need to improve these electronic automatictools in order to address the desire to for higher integration andbetter performance in integrated circuits.

Within an integrated circuit, there are devices, such as transistors,and interconnect. Interconnect is used to connect signals between thecircuitry and also to supply power to the circuitry. Interconnect mayinclude metal lines, polysilicon lines, polysilicide lines, or otherconductive materials. Interconnect is also sometimes referred to asnets. There may be more than one layer of interconnect, such as metal-1and metal-2 layers. There is a need for a technique of automaticallyrouting the interconnect of an integrated circuit. Automatic routingwill automatically connect the inputs of particular devices or circuitsto the appropriate inputs, typically from other circuits or devices, orfrom the pins of those devices.

Furthermore, when automatically routing the interconnect, it isdesirable to consider the width of specific interconnect lines. Byvarying the interconnect width, this varies the properties of the line,such as the current or power handling, reliability, manufacturability,and other factors. For current handling, certain lines will carry largercurrents than other lines. It is desirable that the interconnect linescan carry the current or power they will potentially see duringoperation, otherwise problems such as electromigration, IR voltage drop,or self-heating will reduce the reliability, longevity, or performanceof the integrated circuit.

Therefore, there is a need for a system and an electronic designautomation technique of automatically routing interconnect and varyinginterconnect width based on one or more factors.

SUMMARY OF INVENTION

This invention provides a system and techniques to automatically routeinterconnect using variable width lines. The system will vary the widthof interconnect lines based on certain factors or criteria. Thesefactors include current or power handling, reliability,electromigration, voltage drops, self-heating, optical proximityeffects, or other factors, or combinations of these factors. The systemmay use a gridded or a gridless (or shape-based) approach.

In a specific embodiment, this invention provides a technique toautomatically route interconnect while taking into consideration currentdensity rules. In an implementation, the technique uses a shape-basedapproach where a grid is not used. Based on input data including currentdensity and frequency of each net, this technique determines the currentrequirements for each net. In a specific implementation, a Steiner treeis created for a net, and using this tree, the technique proposes routepaths. The technique widens nets having greater current requirements.Adjacent wiring may be pushed aside to create sufficient space for widernets.

In another embodiment, the invention is an electronic automation systemincluding a shape-based database of an integrated circuit design, amouse input device, and a graphical user interface tool, capable ofaccessing and performing operations on the shape-based database, basedon input from the mouse input device. The system further includes anautomatic router tool, capable of accessing the shape-based database, tocreate a interconnect route path for at least one net of the integratedcircuit design, selected using the graphical user interface tool and themouse, where the interconnect route path includes segments havingdifferent interconnect widths. The width of the interconnect will bevaried depending on factors including at least one of current densityrules, current or power handling, reliability, electromigration, voltagedrops, self-heating, or optical proximity effects.

In another embodiment, the invention is a method including providing anumber of pins routed together on a net, where each pin has a currentvalue, calculating a current requirement for each track segment of thenet, and determining a track width for each track segment using acurrent density function. An automated routing of a first track segmentof the net is performed, where the automatically routed first tracksegment has a track width as previously determined using the currentdensity function.

In another embodiment, the invention is a method including providing agridless layout of a circuit design, providing a number of pins of thegridless layout to be routed together using a net, and providing a trackwidth for each track segment of the net. An automated routing of a firsttrack segment of the net in the gridless layout is performed, where theautomatically routed first track segment has a first track width asprovided.

In another embodiment, the invention is a method including providing anumber of pins of a layout to be routed together using a net, creating aSteiner tree for the net including a rule to treat a segment of thelayout represented as a number terminal connected to each other, wherethese connections cannot be broken during automated routing, andproviding a track width for each track segment of the net. Using theSteiner tree, an automated routing of a first track segment of the netin the gridless layout is performed, where the automatically routedfirst track segment has a first track width as provided.

This rule may be replaced with one or more other rules, and these rulesmay be combined with one another in any combination. Other examples ofrules include: A rule is that for shaped items, points at the center andaround the perimeter where the perimeter intersects a Hanan grid areadded. A rule is that all points belonging to the same subnet will beconnected together, so the automated routing will not attempt todisconnect these points. A rule is that for subpins in the same groupthat are not connected by an arc, the points for each pin will bereplaced by a single point at the center of the subpin. A rule is thatfor subpins that are connected by an arc, both pins will be representedas connected by a forced connection. A rule is that buried pins arerepresented by a point outside a blockage where a first legal routingpitch would be. A rule is that a MOS transistor is modeled where itsgate is single pin.

Other objects, features, and advantages of the present invention willbecome apparent upon consideration of the following detailed descriptionand the accompanying drawings, in which like reference designationsrepresent like features throughout the figures.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 shows a system of the present invention for performing electroniccircuit design, including automatic interconnect routing according tocurrent density rules.

FIG. 2 shows a simplified system block diagram of computer system 1 usedto execute the software of the present invention.

FIG. 3 shows a simplified functional block diagram of an exemplary EDAsystem incorporating aspects of the present invention.

FIG. 4 shows an example of current requirement calculation for nets.

FIG. 5 shows an unrouted net with points.

FIG. 6 shows prerouting of the net of FIG. 5.

FIG. 7 shows proposed paths for the net obtained by Steiner treecreation.

DETAILED DESCRIPTION

FIG. 1 shows an electronic design automation (EDA) system of the presentinvention for designing an electronic circuit or integrated circuit,including routing of nets of the circuit according to current densityrules. In an embodiment, the invention is software that executes on acomputer workstation system, such as shown in FIG. 1. FIG. 1 shows acomputer system 1 that includes a monitor 3, screen 5, cabinet 7,keyboard 9, and mouse 11.

Mouse 11 may have one or more buttons such as mouse buttons 13. Cabinet7 houses familiar computer components, some of which are not shown, suchas a processor, memory, mass storage devices 17, and the like. Massstorage devices 17 may include mass disk drives, floppy disks, IomegaZIP™disks, magnetic disks, fixed disks, hard disks, CD-ROMs, recordableCDs, DVDs, recordable DVDs, Flash and other nonvolatile solid-statestorage, tape storage, reader, and other similar media, and combinationsof these. A binary, machine-executable version, of the software of thepresent invention may be stored or reside on mass storage devices 17.Furthermore, the source code of the software of the present inventionmay also be stored or reside on mass storage devices 17 (e.g., magneticdisk, tape, CD-ROM, or DVD).

Further, FIG. 2 shows a system block diagram of computer system 1 usedto execute software of the present invention. As in FIG. 1, computersystem 1 includes monitor 3, keyboard 9, and mass storage devices 17.Computer system 1 further includes subsystems such as central processor202, system memory 204, input/output (I/O) controller 206, displayadapter 208, serial or universal serial bus (USB) port 212, networkinterface 218, and speaker 220. The invention may also be used withcomputer systems with additional or fewer subsystems. For example, acomputer system could include more than one processor 202 (i.e., amultiprocessor system) or the system may include a cache memory.

Arrows such as 222 represent the system bus architecture of computersystem 1. However, these arrows are illustrative of any interconnectionscheme serving to link the subsystems. For example, speaker 220 could beconnected to the other subsystems through a port or have an internaldirect connection to central processor 202. Computer system 1 shown inFIG. 1 is but an example of a computer system suitable for use with thepresent invention. Other configurations of subsystems suitable for usewith the present invention will be readily apparent to one of ordinaryskill in the art.

Computer software products may be written in any of various suitableprogramming languages, such as C, C++, Pascal, Fortran, Perl, MatLab(from MathWorks, www.mathworks.com), SAS, SPSS, and Java. The computersoftware product may be an independent application with data input anddata display modules. Alternatively, the computer software products maybe classes that may be instantiated as distributed objects. The computersoftware products may also be component software such as Java Beans(from Sun Microsystems) or Enterprise Java Beans (EJB from SunMicrosystems). An operating system for the system may be one of theMicrosoft Windows® family of operating systems (e.g., Windows 95, 98,Me, Windows NT, Windows 2000, Windows XP), Linux, UNIX, or Sun OS. Otheroperating systems may be used.

Furthermore, the computer may be connected to a network and mayinterface to other computers using this network. For example, eachcomputer in the network may perform part of the task of the many seriesof automatic routing steps in parallel. Furthermore, the network may bean intranet, internet, or the Internet, among others. The network may bea wired network (e.g., using copper), telephone network, packet network,an optical network (e.g., using optical fiber), or a wireless network,or any combination thereof. For example, data and other information maybe passed between the computer and components (or steps) of a system ofthe invention using a wireless network using a protocol such as Wi-Fi(IEEE standards 802.11, 802.11a, 802.11b, 802.11e, 802.11g, and 802.11i,just to name a few examples). For example, signals from a computer maybe transferred, at least in part, wirelessly to components or othercomputers.

FIG. 3 shows a simplified functional block diagram of an exemplary EDAsystem 300 incorporating aspects of the present invention. The EDAsystem includes a number of software tools, any of which may access ashaped-based database model 301 containing an integrated circuit design,or one or more portions of an integrated circuit design. The EDA systemprovides such tools as a graphical user interface 302, global router304, manual editor 306, detail router 308, engineering change option(ECO) engine 310, timing-driven routing engine 312, extraction engine314, data export interface 318, DSM process engine 320, and siliconinterface format 322. An EDA system may include any number of the systemtools shown in FIG. 3, and in any combination. Further, the EDA systemmay include additional tools not shown in FIG. 3.

An EDA system may be a grid-based system or shape-based system.Techniques of the present invention may be applied to a gridded orshape-based EDA system. A grid-based system relies heavily on theconcept of a grid and routing grids. Gridded modeling, however, becomesdifficult to implement successfully as the routing and feature sizesbecome smaller. The amount of data increases according to a square law,which means that tasks become increasingly more computationally complexand time-consuming as the amount of data increase. As feature sizes inintegrated circuits continue to shrink, more features or geometries maybe fitted into the same unit area of an integrated circuit. Therefore,it is important for an EDA system to handle increasingly complexintegrated circuits and provide output or results quickly.

The techniques of the invention are especially suited for a shaped-basedsystem, which may also be referred to as a gridless system. Ashape-based system has no defined cell size. Each cell, or expansionarea, is as large as possible. In brief, a shape-based system can expandedges, which means that an edge of an enclosing rectangle (or otherpolygon) may be expanded in the direction of the edge as far as desireduntil the edge finds an obstacle. This may be referred to as a “flood”operation. The rectangle may be representative of any polygon of theintegrated circuit, such as a net, contact, via, transistor gate, ortransistor active area. Blocked edges are edges that cannot be extendedbecause they are blocked by a perimeter of another rectangle, such asanother segment, net, or obstacle. Once an obstacle is encountered, thena shape-based approach floods around the obstacle—making a ninety degreeor other angle (any angle may be used) turns as needed to route aroundthe obstacle.

Chip design, be it analog, custom or digital, will increasingly sufferfrom timing and signal integrity issues, and in particular crosstalk, asgeometries continue to decrease and ever more fine wires are introduced.Gridded solutions are not flexible enough to resolve these issues, letalone achieve a high rate of routing completion. A high performancetiming and crosstalk-driven routing solution will become a mandatoryrequirement in physical design. The grid-based approach offers fastrouting but requires customization to handle off-grid connections and isinefficient for post-route timing and signal integrity optimizations.When net widths and spacings must be changed to reduce resistance orcross-talk, grid-based approaches waste space by moving nets to the nextavailable grid and waste time by resorting to rip-up and reroutetechniques. Gridded systems are not good at irregular intervals,irregular spacings, or routing things that do not fit onto a regulargrid. The gridless approach easily handles off-grid connections and isefficient for post-route optimizations. In a shape-based or gridlesssystem, the layout may be a gridless layout, which means there is nogrid which structures or polygon of the layout are associated with.

In an embodiment, the structure of database 301 facilitates shape-basedoperations. For example, a structure of this database may include anobstacle tree having nodes and leaves containing the obstacles of anintegrated circuit. This tree structure permits rapid determination ofwhere obstacles are when doing operations on the database, such asrouting nets.

An specific example of an electronic design automation system is theLyric Physical Design Framework™, made by Pulsic Ltd. Lyric is a highperformance auto-interactive IC physical design solution for analog,custom, digital, mixed-signal, embedded DRAM or SRAM, and system-on-chip(SoC) design. The system incorporates solutions for automatic placement,routing, full ECO capabilities, timing closure, signal integrity, andpower routing. Another example of an EDA system is the Prelude PhysicalDesign Framework™, also made by Pulsic Ltd. Prelude is an ultra highcapacity, high performance IC physical design solution for very largedigital/ASIC designs, running into millions of nets and cells. Preludeincorporates solutions for ECO placement and routing, powered by ascalable architecture, using a true distributed computing environment.

In FIG. 3, the EDA system 300 includes one or more of the componentsdiscussed below, in any combination. One skilled in the art willrecognize that one or more of components shown in FIG. 3 may not berequired to practice specific aspects of present invention. For example,when DSM process engine 320 is omitted from system, the system couldstill perform automatic routing of interconnect, but without providingDRC checking capabilities.

A graphical user interface 302 provides users a graphical interface inwhich to perform operations on the integrated circuit design. Forexample, the user can view the integrated circuit using the graphicalinterface. The user may use the mouse and cursor to select a particularpolygon or feature, such as a net. The user may expand or zoom intoareas of the integrated circuit design.

A global router 304 is an automatic routing engine that coarsely routesinterconnects of the integrated circuit, thus enabling large designs tobe routed more rapidly and completely. The global router may alsoprovide visual and quantitative analysis of the congestion in the designby highlighting problem areas that can be fixed by incrementaladjustments to the floor plan. The global router is sometimes referredto as a coarse router because it provides generally the routes for theinterconnect, and may work in conjunction with a detail router 308(discussed below) to place the geometries of the interconnect.

A manual editor 306 is a shape-editing suite for creating or editingmetal, keep-outs, routing areas, and the ability to partition a designinto smaller areas. These areas can then be worked upon individually andcan be recombined at a later stage to complete the design. Full on-linedesign rule checking (DRC) ensures that manual operations are completederror-free first time. Powerful tools automatically push-aside existingwiring to make way for new wires and semiautomatic routing tools quicklyclose down troublesome nets by allowing the user to guide the routingengine around complex areas of the design.

The detail router 308 is an automatic router that completes the wiringin a design by determining the specific routes for each interconnect.The detail router may complete a portion of the wiring for design, suchas for sections or specified cells of the design, or may complete allthe wiring of the design. The detail router may route starting fromscratch or from partially completed routing. In an implementation, theglobal router determines the general route paths for the interconnect,and the detail router takes this routing information from the globalrouter and puts in the physical detailed geometries of the tracks andvias.

An ECO engine 310 provides a capability to handle late stage ECOchanges. Every element of the design can be modeled incrementally, thuseliminating the need to ever restart the physical design, no matter whatchanges may need to be made from upstream or downstream processes in thedesign. ECO engine capabilities can include the ability to shove or pushcells aside to make space for new or relocated instances, and theability to drop groups of components and automatically find legalplacement sites for them minimizing the disruption to the design. Whenpushing or pulling cells, the wires remain connected to the cells andthe wires lengthen, shorten, and move as needed, if possible, to keepthe connections. The detail router can then repair any violatinginterconnects and stitch-up any newly introduced interconnects, withminimum impact, ensuring circuit stability is never compromised.

A timing-driven routing engine 312 provides RC timing analysis ofinterconnects. Used in concert with the detail router, the timing enginecan determine the path of least delay for critical nets. Furthermore,the timing engine, in concert with an extraction engine, can activelyselect a longer path with a lower associated delay (e.g., due to lowercapacitance) in preference to a shorter but slower route.

An extraction engine 314 is provided. Utilizing a unified, high-speed RCextraction engine, the crosstalk functionality accurately calculates thecoupling between victim and aggressor signals. This same technology isthen used to identify potential problems, and automatically implements aDRC correct solution without changing the path of the signalunnecessarily. In addition, signal-to-signal (or within and betweenclasses of signals) spacing rules can be applied, and fully controllableautomatic shielding can be used to protect particularly sensitivesignals. The user is provided with unprecedented control over theresistance and capacitance in the signal path. Again, using the advancedbuilt-in RC extraction technology, the user can separately control pathresistance and capacitance, which is particularly useful for analog andmixed signal design.

In an implementation, the global router and detail router are linked tothe extraction engine. So, for example, when running, the global routeror detail router, or both, can call the extraction engine to obtain RCextraction information. The global router, detail router, or both, mayuse the RC extraction information when creating the interconnect routes.For example, the detail router may obtain RC extraction info from the RCengine in order determine whether an interconnect route meets currentdensity rules, and widen the interconnect width as needed.

In a specific embodiment, the Lyric internal RC extraction drivenconstraints manager has been enhanced to ensure matching on a per-layerbasis as well as the whole net or subnet. There is an increasingrequirement in today's designs to match length, time, resistance andcapacitance across nets on a per-layer basis. This ensures total netconstraints are met as before but also guarantees designated nets canmatch on a per-layer basis.

The tightly coupled, high-speed RC extraction engine is used both duringrouting (global router or detail router, or both) and for post-routingextraction to reach timing closure in record time. Integrated timinganalysis and curative features enable the management of delay within thedesign; the matching of delays within and between multiple nets; thesharing of delay between many nets in a signal path; and reducing thedelay in critical nets by minimizing resistance and capacitance.Intelligent lengthening increases the delay of the faster nets,preventing shootthrough.

The detail router can address current density issues in analog design,to help achieve an optimum routing result for the entire design, andsave valuable design time. The current information which is used todrive this current density functionality may come from, for example, afront-end schematic engine or simulation engine. The router canautomatically route a net at varying widths to guarantee sufficienttrack widths at every point in the topology of the net to carry allcurrent requirements. DRC and process checking tools locate anyinsufficient width areas that may exist in any routing, includingautomatically generated routing, manual routing, and importedprerouting.

A data export interface 316 is provided so data of the EDA system 300may be exported for other processes. For example, output from the EDAsystem may be passed through the export interface to other EDA systemsor software tools provided by other manufacturers. The export interfacewould provide output in a form, format, or structure, acceptable byprocess or software tool which is being exported to.

A data import interface 318 provides the means to import data, such as acircuit layout, netlist, or design constraints. The data to be importmay be in various formats including data saved from other EDA systems orsoftware tools. In addition, the source of the data may be a database,floppy drive, tape, hard disk drive, CD-ROM, CD-R, CD-RW, DVD, or adevice over a communication network. Some example of import formatsinclude text, ASCII, GDSII, and LEF/DEF.

A DSM process engine 320 is provided. The DSM process engine does designrule checking (DRC). Design rule checking locates and highlights where adesign is breaking process design rules. For example, a design rule isthe minimum spacing between metal lines (i.e., geometries on a specificlayer). A design rule may be the minimum width of a metal line. A designrule may be a minimum polysilicon-to-diffusion spacing. There are manyother design rules for a typical process. Some design rules are forchecking geometries within a single layer, and some design rules are forchecking geometries of two or more layers.

A silicon interface format 322 is provided, which in a specificimplementation is an ASCII database format. However, in otherimplementations, other silicon interface formats may be used.

A user may design an integrated circuit using a system such as shown inFIG. 3. A representative flow for designing an integrated circuit isoutlined in steps 1 to 8 below in flow A. Step 5 is further subdividedinto three substeps.

Flow A

Integrated Circuit Design Flow

1. Provide Circuit Specification

2. Create Circuit Design

3. Generate Netlist

4. Simulate Performance and Verify Functionality of Circuit Design

5. Generate Layout

5a. Layout Devices

5b. Connect Devices

5c. Connect Blocks of Circuitry

6. Physical Verification and Design Checking

7. Create Masks

8. Fabricate Integrated Circuit

Although the steps above are listed in a specific order, the steps maytake place in any order, as desired and depending on the specificapplication. These are general steps that may be applied to designing anintegrated circuit including custom, a gate array, standard cell, fieldprogrammable logic, microprocessor, digital signal processor,microcontroller, system-on-a-chip (SOC), memory, ASIC, mixed signal,analog, radio frequency (RF) or wireless, and others. There may beadditional or other steps, which may replace one or more above steps.Certain steps may be repeated. For example, after generating a layoutfor a circuit design, the step of simulating performance and verifyingfunctionality may be performed again. This time, the parasitics and RCconsiderations from the layout can be back-annotated into the netlist orcircuit design, and the design simulated again. The results of thissimulation will presumably be more accurate because more preciseinformation is provided.

In step 1 of the flow, a circuit specification is provided. This is aspecification or description of what the integrated circuit or circuitwill do, and what the performance will be. For example, the integratedcircuit may be a memory integrated circuit with particular address inputpins and input-output (I/O) pins. Integrated circuit performance may bequantified terms in AC and DC performance. For example, AC performancerefers to propagation delays, maximum clock frequency, clock-to-outputdelay, hold time, and other similar parameters. DC performance refers tomaximum supply current, maximum and minimum supply voltage, outputcurrent drive, and other similar parameters.

In step 2, an engineer creates a circuit design that presumably willmeet the circuit specification. This circuit design may includetransistors, resistors, capacitors, and other electronic components. Theengineer uses these electronic components as building blocks of thedesign, interconnecting them to achieve the desired functionality andperformance. The engineer may make a custom design using electroniccomponent building blocks or use a gate array, where the building blocksare sets of cells set by the gate array manufacturer. The design may beinput using a graphical design tool such as schematic capture program,and any other design tool may be used. The circuit may be describedusing a high-level design language (HDL). These design tools will createa netlist (step 3) of the circuitry, which is a listing of thecomponents of the devices and their interconnections.

During the design phase, the engineer simulates the performance andverifies the functionality of the circuitry (step 4). There aretransistor and process models to model the components. Some simulationtools include Spice, which performs circuit simulation, and Verilog,which performs functional and timing verification. This is where theelectrical information for current density routing is generated.

After deciding upon an initial circuit design, the engineer beginslayout (step 5) of the circuitry. Layout refers to making thethree-dimensional dispositions of the element and interconnections tomake an integrated circuit. Making an integrated circuit is a layer bylayer process. Some layers of an integrated circuit are diffusion,polysilicon, metal-1, metal-2, contact, via, and others. There may bemultiple layers of the same material, but on different layers. Forexample, diffusion and polysilicon layers are used to make MOStransistors (step 5a). For example, metal-1 and metal-2 are twodifferent layers, where metal-1 is below the metal-2 layers. These metallayers may be connected together using a via. Metal is typically usedfor interconnections (step 5b) and supplying power and ground to thedevices.

Software tools may be used to help with the layout of the circuit, suchas the automatic routing of interconnect (steps 5b and 5c). Theinterconnect may be between devices. Devices and circuitry may begrouped into blocks or cells having inputs and outputs. The interconnectmay be between these blocks or cells (step 5b).

In step 6, after or while the layout is generated, the physical designis verified and checked. For example, some of these operations mayinclude layout-versus-schematic (LVS) checking, electrical rule checking(ERC), design rule checking (DRC), layout simulation (especially foranalog circuitry), power analysis, and timing analysis. Physicalverification and design checking is often iterative. Based on the designcheck, a design engineer or user may make changes to the design orlayout, or both and the design may be rechecked in order to make sureany areas of concern or design errors have been cleared.

The result of layout is data (e.g., provided in GDSII or other format)that is used to make the masks (step 7). The masks are used to fabricatethe integrated circuit (step 8) using a photolithography process.Typically, there are many “copies” of the same integrated circuitedfabricated on the same wafer. Each integrated circuit is a “die” on thewafer. Good dies are separated from the bad dies. The good dies aresawed and packaged. Packaging generally includes encapsulating the diein plastic or other material, and connecting pads of the integratedcircuit to pins of the package, where the integrated circuit can beinterfaced.

The invention provides techniques to automatically route nets and varythe width of these nets according to a set of rules, which may beprovided by the user, engineers, fabrication facility, or others. Theinvention would help with steps 5b and 5c (routing interconnect) of thedesign process. For example, these rules may be current density rules.The rules may include current or power handling, reliability,electromigration, voltage drops, self-heating, optical proximityeffects, or other factors, or combinations of these factors.

For example, there may be a set of optical proximity effect correction(OPC) rules, so some interconnects are widened and other are narrowed,so that different nets can have different widths. Optical proximityeffects are lithography distortions that occur in semiconductormanufacture. Optical proximity correction work by making small changesin the integrated circuit layout to anticipate the distortions.Therefore, when routing the interconnect, the width of the interconnectcan be adjusted according to a set of optical proximity effect rules,which will minimize the optical proximity effects. This may beespecially important in laying out a number of parallel lines of alayer, and varying the width of certain lines, such as the ones of thefar edges or nearer the center of the group.

As a further example, there may be a set of electromigration effectrules, so some interconnects are widened and other are narrowed, so thatdifferent nets can have different widths. The impedance of the lines mayincrease over time due to electromigration, and this shortens thelongevity and reliability of the device because performance may beaffected, or the line will stop being a good conductor. Therefore,certain lines or nets of the device should be widened to avoidelectromigration effects. Certain nets are affected more byelectromigration effects than other nets. Generally, lines carryinghigher current are more prone to electromigration effects, and theselines should be wider. The automatic router will take into accountelectromigration rules and vary the width of the nets to addresselectromigration.

In an embodiment, this patent is related to automatically routing andvarying interconnect width according current density rules. Thisembodiment is provided merely as a specific example. The automaticrouter of the invention may route to any arbitrary set of rules providedby a user. The router will check a net against a rule, and adjust thewidth of the interconnect based on whether a property of theinterconnect violates the rule or not. If violated, the routing makesthe net width wider than when it is not violated. Violates refers towhether the rule is met or not. For example, a rule may be that currentis less than 5 milliamps. A rule may be defined as violated if thecurrent exceeds 5 milliamps, and the rule is met if the current is lessthan 5 milliamps. The rules may be provided in a table, file, database,or other form. The rules may be Boolean expressions or other expressionsor comparisons. A property of the interconnect path may be its proximityto other interconnect, location on the integrated circuit, shape of theinterconnect, type of interconnect material (e.g., whether aluminum,copper, polysilicide, which may affect current electromigration),expected current between source and sink, and other properties.

There are several effects that can cause reliability or performanceproblems due to currents flowing in wires within an integrated circuit.One potential problem is electromigration. At high current densities,such as when the value of current divided by cross sectional area of awire is large, electrons become accelerated to a level where they candisplace atoms from the crystal lattice of the metal wire. Over timethis can lead to voids in the wire and ultimately an open circuit canform. Furthermore, the displaced atoms may leave the body of the wirealtogether and form spurs at corners in the wire, leading toshortcircuits with other neighboring electrical signals. Both opens andshorts lead to functional errors. This effect gets worse with time andhence can cause failures in the field a considerable time aftermanufacture. The wider a wire, the lower the current density willbecome.

Another potential problem is IR voltage drop. Due to Ohm's law, acurrent flowing throw a resistance (a resistance in this case is anarrow wire) will create a potential difference, and in the case of anelectronic circuit this invariably means that the voltage of a signalwill become degraded. This may mean that logic transitions fail to crossthresholds, or take longer to do so, or that noise will cause falsetransitions, or in an analog circuit the signal-to-noise ratio will bereduced. This will reduce functional yield and may cause failures in thefield. The wider a wire is, then the lower the resistance and hence thelower the voltage drop.

Another potential problem is self-heating. Current flowing through aresistance (a resistance in this case is a narrow wire) generates heat(I^2R). This heat will generally slow down circuit operation (astransistor characteristics get worse at raised temperature), and iflocalized can cause mismatches in analog circuitry or clockingstructures and thus generate functional errors. This will reducefunctional yield and may cause failures in the field. The wider a wireis, then the lower the resistance and hence the lower the temperature.Another potential problem from self-heating is that with sufficientcurrent and heat, an interconnect may be like a unintended fuse and canburn out. This would create an open circuit, which may also causefunctional problems.

For most signals, the minimum width wire allowed by design rules issufficient to avoid these problems because the current involved is lowand transitory. But for analog nets, power supplies, clocks and otherhigh-drive digital signals—one or more of the effects may cause concern.The design rules are a set of guidelines that are followed when layingout the integrated circuit. The design rules are generally provided bythe process engineers or foundry.

It is inefficient to set all segments of the routing of such nets to alarge width, or even the worst case width as this will take up anunnecessarily large part of the design area, hence increasing productioncosts.

One way to efficiently handle the current requirements of such netswhile not using excessive real estate on the design space is to connectthe devices on the net by hand, ensuring that each “section” of the netin the routed topology is sufficiently wide enough to handle therelevant pin current of the devices. The problem with this approach isthat it is very time consuming and unreliable as the user will have tocalculate the necessary widths for each section of the routed topologyand ensure the sections are at such width. Also, invariably thehand-routed nets will have to be redone frequently to make way for otherrequirements, placement adjustments, congestion, ECO requirements, andso forth.

It is therefore desirable to automatically route the nets andautomatically determine the minimum required width for each section ofthe routing of such nets, taking into account the relevant rules(electromigration, IR drop, and self-heating), as well as thecharacteristics of the individual net such as switching frequency, noisemargin, pin currents, capacitance, and other characteristics.

Traditionally, automatic routers have no knowledge of and do not takeinto consideration current density rules. Traditionally, automaticrouters take into consideration spacing rules when routing interconnect.Using a traditional automatic router, a user may make adjustmentsmanually to account for current density rules. When using a traditionalautomatic router, some strategies may include: (a) route using theminimum track width, and manually apply a fattening post-process, or (b)route using a larger track width for the whole net. A problem with (a)is that it may not be possible to fatten the routes by the necessaryamount to meet the current density rules. A problem with (b) is that itis unlikely to be possible to route the design one hundred percent whenusing an artificially large track width for the whole net.

There is need for a technique of allowing the current density rules tobe considered during the routing process itself that would result in anet being fully automatically routed at various differing widths tosufficiently handle the current densities at each section of theresultant topology. This strategy could be extended to determine trackwidths according to the resistance of the various paths on a net.

Input Data

Input data includes a current density function, where current density isgiven as a function of at least one of layer, net frequency, or trackwidth, or all or any combination of these. There may be other factorsthat affect current density and these factors may also be part of thefunction.

The current density function may be provided in the form of a formula,equation, table, look-up table, or any other technique for quantifying acurrent density relationship.

In a specific embodiment, the data to be used includes one or morecurrent density tables and a frequency of each net. A current densitytable is a table providing the current density as a function of layer,net frequency, and track width. Such a table will enable a minimum trackwidth to be determined, given a frequency, a layer, and a currentrequirement. In another specific implementation, the technique usesentries from the table. If current is higher than a particular value,then the next higher entry in the table is used. This approach providesa conservative value for the width of the interconnect, because theinterconnect will be wide enough to handle the expected or calculatedcurrent. In another implementation, where a specific currentrequirements value is not found in the table, a current requirementvalue may be obtained by interpolating using entries available in thetable.

For example, a linear interpolation technique may be used to determine acurrent requirement, where the frequency is between two differentfrequencies provided in the table. As a sample calculation, two entriesin the table are (50, 10) and (40, 5), where for (M, N), M representsfrequency and N represents current requirements. Then, then using linearinterpolation, for a frequency of 45, the current requirement will be7.5. For a frequency of 48, the current requirement will be 9 (i.e.,(4830)/2). Although this is an example of linear interpolation, othertypes of interpolation may be used including polynomial, exponential,logarithmic, and others.

A frequency of each net (where 0 is a DC net) is also provided as input.In an embodiment, when frequency information is not provided for aparticular net, DC operation of the nets will be assumed. In anotherembodiment, when frequency information is not provided for a particularnet, a warning message will be provided to the user. The user then cansupply the frequency information.

The current requirements for a net changes as the frequency changes. Thefunction of current density as a function of frequency is given in thecurrent density table. For example, typically, as the frequency on a netincreases, there is an increase in current or power requirements. Thecurrent associated with each device pin of relevant nets, where a +vevalue indicates driver/source, and a ve value indicates receiver orsink. Normally the sum of the currents of all the device pins on a netwill be zero, but this is not essential.

Width Formula

The invention may use following width formula. The following describeshow to determine the needed track width for a particular track segmenton a routed net.

A net is the wire connecting all the points together. There may be manybranches and segments in a single net. Each of the branches or segmentsmay have different current requirements because there are inputs andoutputs along the path, and current path gets divided up. A subportionof the net may be referred to as a track. Interconnect will be used toform the net in the integrated circuit design. And based on the currentrequirements for a track, a particular track width is selected and thiswidth is used for the interconnect in the design.

Assume we have a net N, and a track segment T on layer L. Firstly, weneed determine the current requirement C, for the track T.

Determine which pin on the net is the “main driver,” i.e. the pin withthe largest (positive) current. Having done this, we can determine whichpins are downstream of track T. The current requirement C is the(absolute) sum of the current requirements of the downstream pins.

FIG. 4 shows an example of an application of a width formula of theinvention. FIG. 4 shows nets and pins. Boxes 403 represent device pinswith their associated pin current values. The +6 pin 406 will be treatedas the main driver. The derived current 409 for the various paths areshown.

For example, a segment 411 provides a current of 6 while a segment 413provides a current of 2. Therefore segment 418 handles current of 8,which is the sum of the currents on segments 411 and 413. Thesecalculations provide the current requirements for those nets.

Having determined the current requirement for a particular tracksegment, we can now derive the corresponding track width. Thiscalculation depends on the net frequency, the track layer, and currentdensity tables. The actual currents may be less, but the width of thenet will be wide enough to handle the provided current requirements.

Routing Technique

Given a routed net, it has been shown how it is possible to determinethe current requirement of each route path. From this, we can determinethe width requirement for each track. Any track that is deemed to be ofinsufficient width to support its current requirement can then bewidened provided there is sufficient space, or that adjacent wiring canbe pushed aside to create sufficient space.

An aspect of the invention is to allow the current density rules to beconsidered during the routing process. A key problem with this is thatthe precise routing topology of a net is not known in advance. Thus wedo not know which pins are downstream of each potential track, andtherefore we cannot derive the appropriate track widths to use.

A basic strategy or flow for solving this problem is to route nets withcurrent density rules using Steiner trees. Flow B provides an example ofpseudocode for such a technique of routing while considering currentdensity rules.

Flow B

Routenet(N)

{

//form a set of points S to be connected for net N

//generate Steiner tree for S

//this will gives a new set of points S′ and a set of links L between

//these points

//for each point in S′ that was not in S

{

//create virtual pin

}

//rearrange the unrouted connections on N according to the Steiner

//links L

//for each unrouted connection C on N

{

//determine the current requirement A of this connection C

//this is done by finding the sum of the currents of all

//the downstream pins

//determine the track width per layer for C using

//the current requirement A, the net frequency, and the

//current density tables

//autoroute this connection with these track widths

}

}

Steiner Tree Creation

At the core of this strategy is the ability to create a Steiner tree forthe net. A Steiner tree is a tree in a distance graph which spans agiven subset of vertices (Steiner points) with the minimal totaldistance on its edges. In the seventeenth century, French mathematicianPierre Fermat asked how we could find a point P in a triangle with thedistances from P to the vertices being as small as possible. Thisproblem was later solved by Toricelli. The Steiner problem is ageneralization of this question allowing for an arbitrary number ofinitial vertices and an arbitrary number of vertices to be added. Evenmore simply stated, the Steiner problem is to join a set of points withthe smallest collection of connections. Steiner tree creation should bevery efficient and will necessarily be a heuristic algorithm as Steinertree creation is NP complete. Heuristic algorithms have been designed toapproximate the result within polynomial time.

Various Steiner tree algorithms exist today. Mostly these are fromacademic research. One approach is referred to as the “batched greedyalgorithm” (BGA), worked on by Kahng, Mandiou, and Zelikosky. However,in other implementations of the invention, other Steiner tree algorithmsmay be used including Prim's algorithm and Kruskal's algorithm.

Prim's algorithm is an algorithm to find a minimum spanning tree. Thesteps for Prim's algorithm are:

1. Set i=0, S0={u0=s}, L(u0)=0, and L(v)=infinity for v< >u0. If |V|=1then stop, otherwise go to step 2.

2. For each v in V\Si, replace L(v) by min{L(v), dv ui}. If L(v) isreplaced, put a label (L(v), ui) on v.

3. Find a vertex v which minimizes {L(v): v in V\Si}, say u(i+1).

4. Let S(i+1)=Si cup {u(i+1)}.

5. Replace i by i+1. If i=|V|−1 then stop, otherwise go to step 2.

The time used by Prim's algorithm is O(|V|^2). It will be reduced toO(|E|log|V|) if heap is used to keep {v in V\Si L(v)<infinity}.

Kruskal's algorithm is another algorithm to find a minimum spanningtree. The steps for Kruskal's algorithm are:

1. Set i=1 and let E0={ }

2. Select an edge ei of minimum value not in E(i−1) such that Ti=<E(i−1)cup {ei}> is acyclic and define Ei=E(i−1) cup {ei}. If no such edgeexists, let T=<Ei> and stop.

3. Replace i by i+1. Return to Step 2.

The time used by Kruskal's algorithm is O(|E|log|V|).

For an implementation of the invention, a Steiner tree algorithm is usedwhere improvements are made to the batched greedy algorithm. Thisimproved batched greedy algorithm is highly scalable and in tests isable to find a near optimal solution for 35,000 terminals in 24 secondscompared to several hours or days for other heuristic algorithms.

The standard batched greedy algorithm has some limitations that areaddressed by the improved approach of the invention. Some limitations ofthe standard batched greedy algorithm that are addressed by theinvention include:

1. The standard batched greedy algorithm works on idealized points notarbitrary shapes—e.g., prerouting, and so forth.

2. The standard batched greedy algorithm does not consider electricallyequivalent points.

3. The standard batched greedy algorithm does not consider routingobstacles.

New Batched Greedy Algorithm for Prerouting and Large Shapes

Because the standard batched greedy algorithm does not considerrectangles or anything more complicated than points, we improve thealgorithm to handle with these real world items.

In an approach of the invention for the purposes of batched greedyalgorithm, preroutes are deconstructed to a number of points and thatthe batched greedy algorithm is modified to consider forced connections.Therefore a segment (or number of segments) could be represented as anumber of terminals which are already connected to each other and whoseconnections cannot be broken.

In the case of a track these points will be placed at the ends of thesegment and at the intersection of the track with the lines of a Hanangrid. A Hanan grid is an induced grid which is formed by drawingvertical and horizontal lines through the points. By imposing a Hanangrid, this restricts the feasible solution search space to a finitecollection of trees. Hanan's classic result states that a shortestSteiner tree exists on the grid induced by the points.

For vias, it is only necessary to add a single point at the connectionspoint. For shaped items, i.e. large pins and metal, points are added atthe centre and around the perimeter where the perimeter intersects theHanan grid.

All points that belong to the same subnet should be connected togetherso that the BGA algorithm will not attempt to disconnect them.

FIG. 5 shows an example layout of an unrouted net showing points 506 onpins. Pins are indicated by shaded rectangles 509. In FIG. 5, there arefive pins. Within the pins are deconstruction points 506 for the pins.Each of the pins of FIG. 5 has three deconstruction points each. Thereare dashed lines 512 connecting the pins; these dashed lines show thelogical connections. Surrounding each pin is a rectangle 517, which isthe cell outline. There are dark three rectangles 521 that areobstacles, which the interconnect cannot route through.

FIG. 6 shows the net of FIG. 5 with prerouting 608. There is a Hanangrid with grid lines going vertically 608 and horizontally 611. Thereare projected points 616 on the prerouting 605. Where the Hanan grid andtrack intersect or cross each other, a deconstruction point is placed.Therefore, on prerouting track 605, there are six projected points 616,each occurring at an intersection with the Hanan grid. Prerouting is aterm used for routing that already exists in a design—i.e., not createdby any part of the tool, rather it has been imported along with thedesign into the tool.

The result of the Steiner tree includes the proposed paths and one ormore virtual pins. The proposed path is shown in FIG. 7. Pathsconnecting at a virtual pin will guarantee the topology of the net,which means the current density will be guaranteed because there thewidth of the branch will be sufficient.

The position of the virtual pin is such that when defined in thetopology of the netlist, it will define a branch point that is to beconnected to by the paths from the pins, and all those paths connectingto the virtual pin can be widened sufficiently to meet the currentrequirements of the pins on those paths.

FIG. 7 shows proposed paths for routing a net. The proposed pathsdetermined by Steiner tree creation are indicated by reference numbers708, 711, and 715. A virtual pin is indicated by the reference number719.

Technique for Electrically Equivalent Points

A single logical pin may have multiple subpins. These shapes may beinternally connected, in which case only one of the subpins needs to berouted to, or they may not be internally connected in which case theyall need to be routed to. All members of a subpin group are assumedinternally connected sufficiently so that only one needs to be routed.

Separate subpin groups are assumed to have no internal connection, soeach subpin group must have at least one routed pin. The connectionbetween two subpins may be sufficiently strong so as to allow forthrough routing. In this case a subpin arc is defined between the twosubpins.

Where a pin contains subpins that are electrically equivalent, then oneof the two following approaches is used depending of the exact nature ofthe equivalence.

For subpins in the same group that are not connected by an arc then thepoints for each pin should be replaced by a single point at the centreof the subpins. After the Steiner tree has been constructed each suchgroup will be visited in turn and the lowest cost subpin in each groupwill marked as the preferred subpin and other subpins will be markedunexitable. In this way once a preference for the top or the bottom of acell row is established by the first group, other cells in the row arelikely to follow resulting in a better routing pattern.

For subpins that are connected by an arc then both pins will berepresented to batched greedy algorithm as connected by a forcedconnection in a similar way to prerouting, the batched greedy algorithmwill then be able use the potential feed through.

Technique for Routing Obstacles

Many routing obstacles do not need to be considered in great detail. Thetwo main types of routing obstacles that need consideration are:

1. Those obstacles, or combination of obstacles, that block all routingin a particular bias through an area or completely block all routing ina particular area.

2. Those obstacles that would prevent the placement of Steiner points(virtual pins).

The inner part of the batched greedy algorithm is changed to considerthese obstacles when proposing potential routing structures. In animplementation, this is achieved by passing into the batched greedyalgorithm a set of rectangles that represent routing obstacles alongwith the direction of routing blocked by each.

However this is likely to have an impact of the single point method forrouting electrically equivalent points as many such subpins are eitherside of routing obstacles. So when routing between such pins by thebatched greedy algorithm, the technique should ignore the routingobstacles if both points lie within the same contiguous region of theobstacle.

To ensure that there is not an explosion of these regions, only itemsthat are bigger in the anti-bias dimension than a number of routingpitches will be considered (the number of pitches is to be found byexperiment).

Other Considerations

Buried Pins

A buried pin is a pin that is fully enclosed by an obstacle. Buried pinsshould be treated slightly differently than other pins. Buried pins willbe represented by a point just outside the blockage where the firstlegal routing pitch would be. In order to automatically route buriedpins and consider current density rules, strict rules are used whichallow obstacles to be ignored so buried pin may be routed in a strictway. More specifically, if the buried pin is near the edge of theobstacle, it may be routed directly through that edge. Therefore, as faras the Steiner tree is concerned it is better modeled as a point outsidethe obstacle.

CMOS Transistors

CMOS transistors, where the gate of a transistor has been modeled as asingle pin and the middle is covered with an obstacle, should berepresented as a single point in the middle on the pin. Then in asimilar way to that of electrically equivalent pins each possible exitdirection should be considered and the lowest cost edge preferred andother exit directions barred. This should encourage a routing patternthat connects multiple transistors along the same side.

This description of the invention has been presented for the purposes ofillustration and description. It is not intended to be exhaustive or tolimit the invention to the precise form described, and manymodifications and variations are possible in light of the teachingabove. The embodiments were chosen and described in order to bestexplain the principles of the invention and its practical applications.This description will enable others skilled in the art to best utilizeand practice the invention in various embodiments and with variousmodifications as are suited to a particular use. The scope of theinvention is defined by the following claims.

The invention claimed is:
 1. An electronic automation system comprising:a database of an integrated circuit design; a mouse input device; agraphical user interface tool, capable of accessing and performingoperations on the database, based on input from the mouse input device;and a shape-based automatic router tool, capable of accessing thedatabase, the shape-based automatic router tool being arranged to: usingflooding operations to determine an interconnect route path among atleast three pins that will be coupled together by a single net, whereineach pin has an associated property value, and the route path has atleast a first subnet route for a first subnet coupled to a first pin, asecond subnet route for a second subject coupled to a second pin withoutpassing through the first subnet, a third subnet route for a thirdsubnet coupled to a third pin without passing through the first orsecond subnet, and a fourth subnet route for a fourth subnet which iscoupled at a first end to the first and second subnets and coupled at asecond end to the third subnet; based on the associated property valuesof the pins, calculating a current requirement for each subnet;generating the net comprising the first, second, third, and fourthsubnets using the determined route path; and widening an interconnectwidth for the fourth subnet so the fourth subnet has a widerinterconnect width than the first, second, or third subnet.
 2. Thesystem of claim 1 further comprising: a file, accessible by theshape-based automatic router tool, comprising a current density tablecomprising current density as a function of at least one of layer, netfrequency, or track width.
 3. The system of claim 1 further comprising:a file, accessible by the shape-based automatic router tool, comprisingfrequency information for one or more nets of integrated circuit,wherein when frequency information is not provided for a net, DCoperation of the net will be assumed.
 4. The system of claim 1 furthercomprising: a file, accessible by the shape-based automatic router tool,comprising frequency information for one or more nets of integratedcircuit, wherein when frequency information is not provided for a net, awarning message is presented.
 5. The system of claim 1 wherein theshape-based automatic router tool uses at least one of Steiner treealgorithm, heuristic Steiner tree creation algorithm, or batched greedyalgorithm.
 6. The system of claim 1 wherein the integrated circuitdesign comprises at least one of a memory integrated circuit, DRAM,EPROM, EEPROM, Flash memory, ASIC, microprocessor, programmable logicdevice, field programmable gate array, digital signal processor, analogintegrated circuit, amplifier circuit, system on a chip, or programmablesystem-on-a-chip.
 7. The system of claim 1 wherein shape-based automaticrouter tool creates interconnect route paths for two or more nets, andthe interconnect route paths are for one layer of the integrated circuitdesign.
 8. The system of claim 1 wherein the single net is a first netand automatic router tool creates interconnect route paths for the firstnet, a second net, and a third net, each of the first, second, and thirdnets carrying different signals having different performancerequirements, the first net comprises subnets having differentinterconnect widths, based on a digital circuit performance requirementdifference between the signals on the first and second nets, theautomatic router tool creates the second net having a spacing so thatthe second net is spaced at least a first distance from each subnet ofthe first net, and based on a digital circuit performance requirementdifference between the signals on the first and third nets, theautomatic router tool creates the third net having a spacing so that thethird net is spaced at least a second distance from each subnet of thefirst net, wherein the second distance is less than the first distance.9. The system of claim 1 wherein the automatic router tool wherein thefourth subnet join the first, second, and third subnets.